package com.ruoyi.team.collegeContact.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学院通讯录，用于存储学院成员的联系信息对象 college_contact
 *
 * @author ruoyi
 * @date 2025-01-25
 */
public class CollegeContact extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 唯一标识符，主键，自增 */
    private Long id;

    /** 联系人的姓名 */
    @Excel(name = "联系人的姓名")
    private String name;

    /** 联系人的职位 */
    @Excel(name = "联系人的职位")
    private String position;

    /** 联系人的手机号码 */
    @Excel(name = "联系人的手机号码")
    private String phone;

    /** 联系人的电子邮箱地址 */
    @Excel(name = "联系人的电子邮箱地址")
    private String email;

    /** 是否展示该联系人的信息，TRUE表示展示，FALSE表示不展示 */
    @Excel(name = "是否展示该联系人的信息，TRUE表示展示，FALSE表示不展示")
    private Integer isDisplayed;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setPosition(String position)
    {
        this.position = position;
    }

    public String getPosition()
    {
        return position;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setEmail(String email)
    {
        this.email = email;
    }

    public String getEmail()
    {
        return email;
    }
    public void setIsDisplayed(Integer isDisplayed)
    {
        this.isDisplayed = isDisplayed;
    }

    public Integer getIsDisplayed()
    {
        return isDisplayed;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("position", getPosition())
            .append("phone", getPhone())
            .append("email", getEmail())
            .append("isDisplayed", getIsDisplayed())
            .toString();
    }
}
